package com.cloudshadow.platform.server.common.base.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Pointcut;

public abstract class ControllerAspect {


//    @Pointcut("execution(* com.cloudshadow.platform.server.common.base.service.*.*(..))" +
//            " || execution(* com.cloudshadow.platform.server.common.*.business.service.*.*(..))"
//    )
    @Pointcut("this(com.cloudshadow.platform.server.common.base.service.BaseServiceImpl)")
    public void pointCut() {
    }
    
    // @Around注解写到这里会导致aop执行两次，具体原因不明
    protected abstract Object aroundAdvice(ProceedingJoinPoint pjp) throws Throwable;
    
}
